//
//  RegusterAgreementViewController.m
//  OperationPro
//
//  Created by yaxue wang on 16/9/27.
//  Copyright © 2016年 展鸿科技. All rights reserved.
//

#import "RegusterAgreementViewController.h"

@interface RegusterAgreementViewController ()

@end

@implementation RegusterAgreementViewController
- (void)initView
{
    [super initView];
    [self setTitle:@"用户隐私条款"];
    UIWebView* webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 64, WindowWidth, WindowHeight-64)];
    [self.view addSubview:webView];
    NSString * string =[NSString stringWithFormat:@"%@/login_agreement.html",WebURL];
    NSURL * url = [NSURL URLWithString:string];
    NSURLRequest *request = [[NSURLRequest alloc]initWithURL:url];
    [webView loadRequest:request];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
